<?php
$rowset = DB::getConnection()->fetchAll("SELECT attribute_id FROM `category2product_attribute` WHERE id=10");
 ?>